test(verdict): golden-set regression harness for verdict prompt changes - #1135
Draft
kyle-compute wants to merge 2 commits into
Draft
test(verdict): golden-set regression harness for verdict prompt changes#1135kyle-compute wants to merge 2 commits into
kyle-compute wants to merge 2 commits into
Conversation
…hanges PR #1120 rewrote the verdict prompt and changed TaskVerdictModel from is_good to verdict=accept|reject with nothing watching whether such a change shifts the accept/reject line. This adds a golden set of seven scenarios, each pinning one rule of verdict_prompt.txt to its expected verdict, consumed by two layers: - test_verdict_golden_set.py (every CI run, no network): each scenario's prompt renders with its defining substance intact, and a synthetic judge reply round-trips VerdictBlock's parse path. Guards rendering and schema regressions only. - test_verdict_golden_set_live.py (opt-in): runs the real verdict model over the whole set via synthesize_task_verdict, prints a per-case table plus the aggregate accept rate, and fails on any drifted verdict. Skipped unless the configured OpenAI provider's credentials resolve; ODDISH_VERDICT_PROMPT_FILE swaps in an alternative prompt for A/B comparison without touching production code. Claude-Session: https://claude.ai/code/session_01MzJSdrHKEqJrJHU7RRJ758
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Oddish previewCommit:
Vercel deployment URL: https://oddish-7r9i60vxt.oddish.app Plan:
This comment is updated by the PR Preview workflow. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Why this PR exists
What this PR changes
What this PR does not prove
Network, cost, and credentials
Validation
Draft gate
Rollback
This PR adds tests only. Revert the test files to remove the harness; no production or stored state needs recovery.